﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Caliburn.Micro;

namespace DomusDotNet.Sbm.Client.WP7.ViewModels
{
    public class QuickAccessViewModel: Screen
    {

        INavigationService navigation;
        public QuickAccessViewModel(INavigationService navigation) {
            this.navigation = navigation;
            DisplayName = "quick access";

        }


        public void GoToByCategory() {
            GoToSet("byCategory");
        }
        public void GoToByStatus()
        {
            GoToSet("byStatus");
        }

        void GoToSet(string set) {
			var uri = "/Views/BookCriteriaSetPage.xaml?Set={0}";
			navigation.Navigate(new Uri(string.Format(uri, set), UriKind.Relative));
        }
    }

    
}
